From: Florian Müllner Date: Thu, 4 Aug 2022 22:32:24 +0000 (+0200) Subject: status/network: Sync active access point from constructor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~144 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7bfd4fe1482123f19450dcbfac897e5561ec83ea;p=gnome-shell.git status/network: Sync active access point from constructor The wireless device item tracks the active access point in order to update its icon on signal strength changes. However we currently don't synchronize the initial state, so we miss strength changes until the first access-point change. Part-of: --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index efe022ae1..904abf584 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1273,6 +1273,7 @@ var NMDeviceWireless = class extends Signals.EventEmitter { 'notify::active-access-point', this._activeApChanged.bind(this), 'state-changed', this._deviceStateChanged.bind(this), this); + this._activeApChanged(); this._sync(); }